package com.zhangmeng.tools.builder;

import com.zhangmeng.tools.music.musicPlayer.MusicPlayer;
import javafx.util.Builder;

/**
 * @author : 芊芊墨客
 * @version : 1.0
 * @date : 2023-04-24 11:18
 */
public class MusicPlayerBuilder implements Builder<MusicPlayer>{

    private String file_path ;
    private String file_lyric ;
    private String singer;


    @Override
    public MusicPlayer build() {
        return new MusicPlayer(file_path,file_lyric,singer);
    }

    public String getFile_path() {
        return file_path;
    }

    public void setFile_path(String file_path) {
        this.file_path = file_path;
    }

    public String getFile_lyric() {
        return file_lyric;
    }

    public void setFile_lyric(String file_lyric) {
        this.file_lyric = file_lyric;
    }

    public String getSinger() {
        return singer;
    }

    public void setSinger(String singer) {
        this.singer = singer;
    }
}
